package com.ophiux.FeverManagement.domain.repository;

import com.ophiux.FeverManagement.domain.entity.DoctorInfo;
import com.ophiux.micro.core.domain.ICommonRepository;
import com.ophiux.utils.exception.OphiuxRepositoryException;

public interface IDoctorRepositories  extends ICommonRepository<DoctorInfo>{

	/**
	 * 根据医生的OtherId获取医生信息
	 * @throws OphiuxRepositoryException 
	 */
	public DoctorInfo getDoctorByOtherId(String otherId)  throws OphiuxRepositoryException;
	/**
	 * 根据医生的电话获取医生信息
	 */
	public DoctorInfo getDoctorByPhone(String Phone)  throws OphiuxRepositoryException;
	
}
